package com.lcf;

import com.lcf.proxy.UserServiceProxy;
import com.lcf.service.UserService;
import com.lcf.service.impl.UserServiceImpl;

/**
 * 测试静态代理
 */
public class TestStaticAop {

    public static void main(String[] args) {
        UserService userService = new UserServiceImpl();

        UserServiceProxy userServiceProxy = new UserServiceProxy(userService);
        userServiceProxy.add();
    }
}
